<div class="navbar navbar-inverse navbar-fixed-top">
  <div class="navbar-inner">
    <div class="container">
      <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="brand" href="#">Gia</a>
      <div class="nav-collapse collapse">
        <ul class="nav">
          <li <?php if($active_menu_item == "inicio") echo " class='active '";?> ><a href="index.php/welcome/inicio">Inicio</a></li>        
          <!--<li<?php if($active_menu_item == "publicar") echo " class='active'";?>><a href="index.php/publish/publicar">Publicar</a></li> -->
          <li class="dropdown <?php if($active_menu_item == "publicar") echo "active";?>">
                <a href="index.php/publish/publicar" class="dropdown-toggle" data-toggle="dropdown">Publicar <b class="caret"></b></a>
                <ul class="dropdown-menu">
                  <li><a href="index.php/publish/avisos">Avisos</a></li>
                  <li><a href="index.php/publish/atividades">Atividades</a></li>
                  <li class="disabled"><a href="#htmlpersonalizado">HTML Personalizado</a></li>
                  
                </ul>
           </li>
          
          
          <li<?php if($active_menu_item == "usuarios") echo " class='active'";?>><a href="index.php/users/usuarios">Usuarios</a></li>
          <li<?php if($active_menu_item == "locais") echo " class='active'";?>><a href="index.php/places/locais">Locais</a></li>
          <li<?php if($active_menu_item == "pesquisa") echo " class='active'";?>><a href="index.php/search/pesquisa">Pesquisa</a></li>
          <li <?php if($active_menu_item == "sobre") echo " class='active'";?>><a href="index.php/welcome/sobre">Sobre</a></li>
        </ul>
        
		<div class="btn-group pull-right">
			  <button class="btn"><i class="icon-user"></i><?php echo $this->session->userdata('nome') ?> </button>
			  <button class="btn dropdown-toggle" data-toggle="dropdown">
			    <span class="caret"></span>
			  </button>
			  <ul class="dropdown-menu">
			    <li><a href="index.php/profile/perfil">Perfil</a></li>
			    <li><a href="index.php/logon/authenticate/logout">Sair</a></li>
			  </ul>
		</div>
		
      </div><!--/.nav-collapse -->
    </div>
  </div>
</div>